<div class="dialog">
    <table>
        <tbody>
        
            <tr class="prop">
                <td valign="top" class="name"><g:message code="retailer.serialNumber" default="Serial Number" />:</td>
                <td valign="top" class="value">${fieldValue(bean: retailerInstance, field: "serialNumber")}</td>
            
                <td valign="top" class="name"><g:message code="retailer.name" default="Name" />:</td>
                <td valign="top" class="value">${fieldValue(bean: retailerInstance, field: "name")}</td>
            </tr>
            
            <tr class="prop">
                <td valign="top" class="name"><g:message code="retailer.department" default="Department" />:</td>
                <td valign="top" class="value"><g:link controller="department" action="show" id="${retailerInstance?.department?.id}">${retailerInstance?.department?.encodeAsHTML()}</g:link></td>
                
                <td valign="top" class="name"><g:message code="retailer.isActive" default="Is Active" />:</td>
                <td valign="top" class="value"><g:formatBoolean boolean="${retailerInstance?.isActive}" /></td>
            </tr>
            
        </tbody>
    </table>
</div>
<div class="list">
    <h2><g:message code="retailerInventory.list" default="RetailerInventory List" /></h2>
    <g:include action="inventories" params="[retailer:retailerInstance?.id]" />
</div>
